Filter subprojects using DXL

Hi,

I want to listout only projects which excludes subprojects under database level using dxl coding. please help me.

Thanks in advance.

Regards,
Muthurani M
muthurani - Mon Apr 05 02:42:41 EDT 2010

Re: Filter subprojects using DXL
Mathias Mamsch - Mon Apr 05 09:25:10 EDT 2010

You can use the "getParentProject" perm to find out if you are "under database level" ...

Will list all project immediately under database level (=no parent project)...

Project p 
 
for p in database do 
    if (null getParentProject p) print (name p) ": ROOT Level\n"

 


Regards, Mathias